package me.work.pay.jsyl.mvp.model.entity;

import com.chad.library.adapter.base.entity.SectionEntity;

import java.util.List;

/**
 * @author xubo
 * @date 2018/9/19 9:41
 */
public class ReceiptSection extends SectionEntity<OrderArrBean>{


    /**
     * orderType : alipay
     * money : 0.01
     * hour : 13:26
     * orderId : 20191101131749834304
     * device :
     */

    private String orderType;
    private double money;
    private String hour;
    private String orderId;
    private String device;

    /**
     * orderArr : [{"orderType":"weixin","money":0.02,"device":"超市收银台3","hour":"15:32"}]
     * allMoney : 0.02
     * date : 8-16
     */
    public ReceiptSection(boolean isHeader, String header) {
        super(isHeader, header);
    }

    public ReceiptSection(OrderArrBean orderArrBean) {
        super(orderArrBean);
    }
    public ReceiptSection setHeader(){
        isHeader = true;
        return this;
    }
    private double allMoney;
    private String date;
    private List<OrderArrBean> orderArr;


    public double getAllMoney() {
        return allMoney;
    }

    public void setAllMoney(double allMoney) {
        this.allMoney = allMoney;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public List<OrderArrBean> getOrderArr() {
        return orderArr;
    }

    public void setOrderArr(List<OrderArrBean> orderArr) {
        this.orderArr = orderArr;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getHour() {
        return hour;
    }

    public void setHour(String hour) {
        this.hour = hour;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }
}
